package com.rzl.expense.expense.mapper;

import java.util.List;
import com.rzl.expense.expense.domain.ElePaymentdetail;
import org.apache.ibatis.annotations.Param;

/**
 * 电缴费明细Mapper接口
 * 
 * @author expense
 * @date 2024-11-30
 */
public interface ElePaymentdetailMapper 
{
    /**
     * 查询电缴费明细
     * 
     * @param paymentdetailId 电缴费明细主键
     * @return 电缴费明细
     */
    public ElePaymentdetail selectElePaymentdetailByPaymentdetailId(String paymentdetailId);

    /**
     * 查询电缴费明细列表
     * 
     * @param elePaymentdetail 电缴费明细
     * @return 电缴费明细集合
     */
    public List<ElePaymentdetail> selectElePaymentdetailList(ElePaymentdetail elePaymentdetail);

    /**
     * 新增电缴费明细
     * 
     * @param elePaymentdetail 电缴费明细
     * @return 结果
     */
    public int insertElePaymentdetail(ElePaymentdetail elePaymentdetail);

    /**
     * 修改电缴费明细
     * 
     * @param elePaymentdetail 电缴费明细
     * @return 结果
     */
    public int updateElePaymentdetail(ElePaymentdetail elePaymentdetail);

    /**
     * 删除电缴费明细
     * 
     * @param paymentdetailId 电缴费明细主键
     * @return 结果
     */
    public int deleteElePaymentdetail(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 批量删除电缴费明细
     * 
     * @param paymentdetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElePaymentdetailByPaymentdetailIds(String[] paymentdetailIds);

    public void batchElePaymentdetail(List<ElePaymentdetail> list);

}
